package com.favccxx.search.domain.datasource.datasource;

import com.favccxx.search.domain.common.BaseDoc;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;

import javax.persistence.MappedSuperclass;
import java.io.Serializable;

/**
 * @author favccxx
 */
@Document("us_data_source")
@Data
@NoArgsConstructor
public abstract class AbstractDataSource extends BaseDoc implements Serializable {

    @Id
    private String id;

    private String code;

    private String name;

    private String projectId;


}
